home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / AMOSList / AMOSLIST.0997 / 000319_amos-request@svcs1.digex.net_Sat Sep 27 18:31:53 1997.msg < prev    next >
Text File  |  1997-10-01  |  3KB  |  73 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail4.access.digex.net (8.8.5/8.8.5) with ESMTP id SAA09592
  3.     for <mcox@access.digex.net>; Sat, 27 Sep 1997 18:31:52 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id RAA19807
  6.     for amos-out; Sat, 27 Sep 1997 17:53:47 -0400 (EDT)
  7. Received: from mail3.access.digex.net (mail3.access.digex.net [205.197.247.4])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id RAA19804
  9.     for <amos-list@svcs1.digex.net>; Sat, 27 Sep 1997 17:53:46 -0400 (EDT)
  10. Received: from psln1.psln.com (psln.com [206.99.118.101])
  11.     by mail3.access.digex.net (8.8.5/8.8.5) with SMTP id RAA15376
  12.     for <amos-list@access.digex.net>; Sat, 27 Sep 1997 17:53:43 -0400 (EDT)
  13. Received: from LOCALNAME by psln1.psln.com via SMTP (951211.SGI.8.6.12.PATCH1502/951211.SGI.AUTO)
  14.     for <amos-list@access.digex.net> id OAA01446; Sat, 27 Sep 1997 14:47:08 -0700
  15. Message-ID: <342AD231.203F@psln.com>
  16. Date: Thu, 25 Sep 1997 14:05:53 -0700
  17. From: "John F. Rodgers" <jfr@psln.com>
  18. X-Mailer: Mozilla 2.02E-KIT  (Win16; U)
  19. MIME-Version: 1.0
  20. To: amos-list@access.digex.net
  21. Subject: Re: Set Bob doesn't work right
  22. Content-Type: text/plain; charset=us-ascii
  23. Content-Transfer-Encoding: 7bit
  24. Status: O
  25. X-Status: 
  26.  
  27. > From your program it seemed pretty
  28. >clear that you couldn't use Set Bob when you are already displaying it as
  29. >was your previous explanation. Anyway heres a fix but there are other
  30. >ways of getting around it too.
  31. >
  32. >Replace this:
  33. >> For C=1 To 7
  34. >> Set Bob 1,-1,C,%11001010 : Rem Transparent color zero, BG redraw off
  35. >> Bob 1,C*20,c*20,1
  36. >> Put Bob
  37. >> Wait Vbl
  38. >> Next C
  39. >
  40. >With This:
  41. > For C=1 To 7
  42. > Set Bob C,-1,C,%11001010 : Rem Transparent color zero, BG redraw off
  43. > Bob C,C*20,c*20,1
  44. > Put Bob C
  45. > Wait Vbl
  46. > Bob Off C
  47. > Next C
  48.  
  49. There has to be a Wait Vbl after the Bob Off command, or the thing doesn't display 
  50. properly.
  51.  
  52. I found the section on Blocks in the Icons and Blocks section, and I've got it going ok, 
  53. except I have another problem:
  54.  
  55. When stamping down a Block (or even the Bobs, when I was using them) over an existing 
  56. image, if I mask the bitplanes, the new image doesn't replace the old, but where they 
  57. intersect, the bitplanes are merged.  Obviously if I'm masking out a bitplane, and its 
  58. bits are zero, it can't zero out the bits in the corresponding destination bitplane.  So 
  59. I have to get the Block, stamp it down with a mask, pick it up again, then stamp it down 
  60. with all bitplanes active.  Then it will overwrite the destination image.  This is to 
  61. produce the effect of a shadow, then outline colors, then the face color of a graphic 
  62. text font.  I could just use the Text command several times, but I'm going through a 
  63. routine which allows kerning between characters, and it renders the text lines slow 
  64. enough as it is.
  65.  
  66. Anyone have any suggestions for fast blitting of an image like this?
  67.  
  68. Sincerely,
  69.  
  70. John F. Rodgers
  71. jfr@psln.com
  72.